package com.rcloud.server.sealtalk.model.dto;

import io.rong.messages.BaseMessage;
import io.rong.util.GsonUtil;

import java.math.BigDecimal;

/**
 * 一句话描述功能
 *
 * @author yichat
 * @date create in 10:06 2020/6/19 2020
 */
public class RCTransMessageDto extends BaseMessage {

    private String type = "";

    private String transDes;
    private String ctime;
    private String bankInfo;
    private Integer transId;
    private BigDecimal transAcount;


    public RCTransMessageDto() {
    }

    public RCTransMessageDto(String transDes, String objectName, Integer transId, BigDecimal transAcount) {
        this.transDes = transDes;
        this.transId = transId;
        this.transAcount = transAcount;
        this.type = objectName;
    }


    @Override
    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getTransDes() {
        return transDes;
    }

    public void setTransDes(String transDes) {
        this.transDes = transDes;
    }

    public String getCtime() {
        return ctime;
    }

    public void setCtime(String ctime) {
        this.ctime = ctime;
    }

    public String getBankInfo() {
        return bankInfo;
    }

    public void setBankInfo(String bankInfo) {
        this.bankInfo = bankInfo;
    }

    public Integer getTransId() {
        return transId;
    }

    public void setTransId(Integer transId) {
        this.transId = transId;
    }

    public BigDecimal getTransAcount() {
        return transAcount;
    }

    public void setTransAcount(BigDecimal transAcount) {
        this.transAcount = transAcount;
    }

    @Override
    public String toString() {
        return GsonUtil.toJson(this, RCTransMessageDto.class);
    }


}


